package xyz.yang.toodles.statemachine;

/**
 * @author Xuehong Yang
 * @since 1.0
 */
public enum ContractEvent implements Event {
    CONTRACT_CREATE("CONTRACT_CREATE", "合同创建"),
    CONTRACT_SUBMIT("CONTRACT_SUBMIT", "合同报批"),
    CONTRACT_APPROVE("CONTRACT_APPROVE", "合同通过"),
    CONTRACT_REJECT("CONTRACT_REJECT", "合同驳回"),
    CONTRACT_CANCEL("CONTRACT_CANCEL", "合同取消");

    private String name;
    private String description;

    ContractEvent(String name, String description) {
        this.name = name;
        this.description = description;
    }
}
